import numpy as np
x = np.matrix([[1,2,5],
               [3,4,6]])
print(x[:][1])